﻿using RBAC.Domain;
using RBAC.Repository.Interfae;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Repository.Impl
{
    public class CityRepository : BaseRepository<City>, ICityRepository
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context"></param>
        public CityRepository(EFcoreContext context) : base(context)
        {

        }
       public async Task<List<City>> GetCity(Expression<Func<City,bool>> expre)
        {
            return await base.GetAsync(expre);
        }
       
    }
}
